package com.jlcindia.util;


import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;

public class CHibernateUtil {
	static SessionFactory sessionFactory = null;
	static{
		Configuration cfg = new Configuration();
		cfg = cfg.configure();
		sessionFactory = cfg.buildSessionFactory();
	}
	public static SessionFactory getSessionFactory(){
		return sessionFactory;
	}

}
